package com.wisedu.wec.bank.api.dto;






public enum PayStatus {
    PAY_SUCCESS("0", "付款成功"),
    PAY_FAIL("1001", "付款失败"),

    REFUND_SUCCESS("0","退款成功"),
    REFUND_FAIL("1002","退款失败");


    private final String code;//0表示成功，此时无message
    private final String message;

    private PayStatus(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
